
#include <iostream>

using namespace std;
int main()
{
     int a = 10;
     int b = 10;

     cout<<(a || b)<<endl;

     a = 0;
     b = 10;
     cout<<(a || b)<<endl;

    a = 0;
    b = 0;
    cout<<(a || b)<<endl;

    //逻辑或，同假则为假，有一真则为真
    system("pause");
    return 0;
}